home *** CD-ROM | disk | FTP | other *** search
- ┌─────────────────────────────────────────────────────────────────────────┐
- │ Initor 1.1 ( INIfile ediTOR ) │
- │ │
- │ OS2 Ini File Editor │
- │ CopyRight (C) 1996 Jobst Schmalenbach │
- │ Email: jhs@dgs.monash.edu.au │
- │ │
- │ Snail Mail: Jobst Schmalenbach │
- │ 19 York Street │
- │ Caulfield South, VIC, 3162 │
- │ Australia │
- │ │
- │ Parts of the source code were taken from: │
- │ Real World Programming for OS/2 │
- │ Copyright (c) 1993 Blain, Delimon, and English │
- │ │
- │Thank you, guys. The book is excellent! │
- │Learned very quick and necessary stuff! │
- └─────────────────────────────────────────────────────────────────────────┘
-
- This file and the GNU LICENCE must be kept together with the INITOR.
- (If not may your inner conscious slowly crawling up you back!)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ___________________________________________________________________________
-
-
- WHAT DOES THIS PROGRAM DO?
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
- Initor enables you to edit OS2 "ini" files. You are able to add, deleted
- and edit applications, keys and key data.
-
- DO NOT USE THIS PROGRAM IF YOU DONT KNOW WHAT YOU ARE DOING!!!!
- I take no responsibilty if you bugger up your ini files and I have NOT
- included "safety keys" into the application.
-
- BUT: therefore its very fast and efficient!
-
- I have written this program because the LOTUS ini file editor drove me nuts,
- You cannot size it to a different window size, it comes up with
- this silly window at startup and does not remember the last directory were
- you edited a file. So I used the basic structure of Real World Programmings
- ini file editor and changed a few things and bugs to make INITOR.
-
-
- HOW DOES IT WORK?
- ~~~~~~~~~~~~~~~~~
- Simply start INITOR from the command line or have an icon pointing to this
- program somewhere on the desktop. Refer to the OS2 help files how to make
- a program icon.
-
- Initor starts with the "OS2.INI" (USERINI) file opened.
-
- After a few uses you get the idea.....
-
-
- CHANGING INI FILES:
- ~~~~~~~~~~~~~~~~~~~
- If you want to change to another INI file click on "PROFILES" (alt-p).
-
- You can choose:
- - USER INI FILE (os2.ini)
- - SYSTEM INI FILE (os2sys.ini)
- - USER AND SYSTEM FILE (above together)
- - Other INI files (this could be for example AmiPro's INI FILES)
-
- If you click on USER or SYSTEM file the user and/or system ini file are opemed
- as set in the enviromental variable which must be set in the config.sys file.
-
- If you choose "Other .." a file dialog box is opened with the directory shown
- where INITOR was started up. If you save the path as shown below "Saving ..."
- the next time you open INITOR the file dialog box opens with the same path.
-
-
- MOVING AROUND:
- ~~~~~~~~~~~~~~
- You simply click on an application to go to another application in the
- "Application Name" Window using scroll bars as well.
- All key names of that application will be displayed in the "Key Name" window.
- The data of the first key will be displayed in HEX and ASCII.
-
- If you need another key, click on another key and the new data will be
- displayed with offset and the number of bytes in HEX and ASCII.
-
-
- EDIT KEYS AND KEY DATA:
- ~~~~~~~~~~~~~~~~~~~~~~~
- If you need to change data of an application use "Edit Application" (alt-e).
- A Dialog box will appear with the application name in the first row,
- the key name in the second row and the key data last.
-
- You cannot change the application name, that is set read only but you can
- change the key name and the data.
-
- The first dialog box is for ASCII strings with values above 32 and below
- 127 (ASCII). If key data is shown with values below 32 you can click
- on "HEX" button and another dialog box appears to be able to change
- binary data.
-
-
- HEX DATA EDITING:
- ~~~~~~~~~~~~~~~~~
- If you clicked on the HEX button in the "ADD-EDIT" dialog box above a
- dialog box appears to edit hex (binary) data. Just edit data
- as required keeping a space between each BYTE and use
- HEX and BINARY numbers to enter data into the window.
-
- You must keep a space between each byte or else your data will not
- be accepted. The box will stay until the data is accepted
- or you press CANCEL.
-
- You must end the data in the hex window with a "00" and a space.
- The "00" is part of the key data in the ini files and the space
- is the programs way to determine a byte separated from another byte.
- I dont think this is a major problem although it might seem a little
- awkward in the first place.
-
-
- DELETING APPLICATIONS AND KEYS:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- If you need to delete a key or application click on "Delete Items" (alt-i).
-
- "Delete Application" will delete the applcation pointed at with all keys
- belonging to THAT application and the data belonging to the keys.
- An application example: "AMIUSER" in the provided test.ini!
-
- "Delete Selected Key" will only destroy the key and the data.
- A key example of above application: "BackUpPath"
- Data for the above key: "d:\tmp"
-
- You are asked for confirmation to delete the key/application.
-
-
- ADDING APPLICATIONS AND KEYS:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- If you need to add a new application or add a key to an existing
- application choose "Add Items" (alt-i).
-
- "Add new application" adds a new application to the ini file. An
- application is for example "AmiPro". If you add a new application
- it will be sorted alphabetically (not in the ini file).
-
- "Add new key" adds a new KEY to the current application pointed at.
- A new key would be for example "INIPATH" (data in my case: d:\os2).
-
-
- SAVING DATA AND SCREEN LOCATION:
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- If you want to save the data you have changed, added or deleted, want to save
- your screen location and save your last path click on "SAVE" (alt-s).
-
- You can save changes to the data by selecting "Changes".
- You can save the window location (quite handy) by selecting "Screen Location".
- You can save the last path by selecting "PATH"
-
- I DOES NOT WRITE ANYTHING TO YOUR INI FILES BEFORE YOU TELL IT TO DO SO.
- (and if you want to delete it, well, you've got the toold now...)
-
-
- NOTE:
- ~~~~~
- Note that this editor was written with speed in mind. I am looking
- after a few systems (LanServer 4.0 etc) and needed a quick ini editor
- to change a few settings to make a few applications "behave" a little better.
- I got frustrated with LOTUS ini editor because it doesn't remember the last path,
- screen location and comes up with this box at startup telling you its dangerous
- to change something in you ini files.
-
- So I wrote this one and use it (and a few friends too) nearly every day.
-
- An I left out a few things to make this program faster to work with
- and not have to press too many buttons.
-
-
- TEST INI FILE:
- ~~~~~~~~~~~~~~
- I have included a test ini file which you can load an try out a few things
- before you want to change the "real" ones. It has a number of applications,
- keys and key data in it. The file is taken from my LOTUS AmiPro.
-
- It is the "AMIUSER3.INI" files which contains all the setttings of a user.
-
- The first APPLICATION is the "AMIUSER" in that file.
- A KEY is for example the "BACKUPPATH" and the KEYDATA is "H:\AMIPRO\TMP"
- (AmiPro's direcotry on my machine is on "H").
-
- Try a few things here and you get the idea.
-
-
- BUGS:
- ~~~~~
- I dont know of any bug (hopefully).
-
- I tested this thouroughly and it worked fine with me and one other person.
- It has run on a number of systems with different types of WARP installed.
- Warp plain, Warp fixpak5, Warp fixpak10, Warp fixpak17.
-
- This program, however, is not fancy.
- It is straight to the point and useful for somebody do some work quickly.
-
- Bug reports to the author. Email: jhs@dgs.monsh.edu.au
-
-
- FUTURE ENHANCEMENTS:
- ~~~~~~~~~~~~~~~~~~~~
- I try to include IPFS help into the editor.
- ....
- ....
-
-
- SUGGESTIONS:
- ~~~~~~~~~~~~
- Very wellcome. Semd me some EMAIL: jhs@dgs.monsh.edu.au
-
-
- HISTORY:
- ~~~~~~~~
- June 1996: INITOR 1.0
- June 1996: INITOR 1.1
- - added very simple help menu (shows readme file).
- - added abilty to edit and add BINARY data (hex data).
- - fixed last path saved (path was cut off when longer the 20).
- - fixed redraw when canceling add/edit dialog box.
- - fixed some data appearing in key data window when adding new key.
- - fixed some data appearing in key data window when adding new application.
-
-
- WHY I USE GNU LICENSE?
- ~~~~~~~~~~~~~~~~~~~~~~
- Well, easy. I use a lot of the GNU stuff:
- GTAK, GTAR, emacs, gcc, gnu utils, emtex, ghostview
- and many many more.
-
- So why should Imake some available? (some more to come..)
-
-
- AUTHOR:
- ~~~~~~~
- Jobst Schmalenbach
- 19 York Street
- Caulfield South, VIC, 3162
- Australia
-
- 61 3 9523 7348
- 61 41 141 6843
-
- EMAIL: jhs@dgs.monash.edu.au
-
-
-
-
- ~~~~~~~~~~~~
- ENJOY!
-
-